package com.rogo.rogobox.controllers
{
	import com.rogo.mvc.interfaces.INotification;
	import com.rogo.mvc.sub.command.Command;
	import com.rogo.rogobox.models.MicroblogProxy;
	import com.rogo.rogobox.models.vo.RepostVO;
	
	public class RepostMicroblogCommand extends Command
	{
		public function RepostMicroblogCommand()
		{
			super();
		}
		
		override public function execute(notification:INotification):void
		{
			var vo:RepostVO = notification.param as RepostVO;
			var proxy:MicroblogProxy = facade.retrieveProxy(MicroblogProxy.NAME) as MicroblogProxy;
			proxy.repostStatus(vo);
		}
	}
}